import index from "@/components/user/base/index"
import login from "@/components/user/base/login"
import profile from "@/components/user/base/profile"
import register from "@/components/user/base/register"
import card from "@/components/user/base/card"
// import record from "@/components/user/base/record"

/**
 * 用户基本资料路由 - 子路由
 */
const base = [
    {
        path: "base/profile",
        name: 'profile',
        component: profile,
        auth: true
    },
    {
        path: "base/card",
        name: 'card',
        component: card,
        auth: true
    },
    {
        path: "base/login",
        name: 'login',
        // component:() => import('@/components/user/base/index'),
        component: login,
    },
    {
        path: "base/index",
        name: 'index',
        component: index,
    },
    {
        path: "base/register",
        name: 'register',
        component: register
    },
    //   {
    //     path: "base/record",
    //     name: 'record',
    //     component: record,
    //     auth: true
    //   }
]

export default base